using System.Collections;
using Rdl;

namespace GTame.ReportParser
{

    public class CornerType
    {

        private GTame.ReportParser.ReportItemsTypeComposite _ReportItems;

        public GTame.ReportParser.ReportItemsTypeComposite ReportItems
        {
            get
            {
                if (_ReportItems == null)
                    _ReportItems = new GTame.ReportParser.ReportItemsTypeComposite();
                return _ReportItems;
            }
            set
            {
                _ReportItems = value;
            }
        }

        public CornerType()
        {
        }

        public Rdl.CornerType Write()
        {
            Rdl.CornerType cornerType = new Rdl.CornerType();
            System.Collections.ArrayList arrayList = new System.Collections.ArrayList();
            if (_ReportItems != null)
                arrayList.Add(_ReportItems.Write());
            cornerType.Items = arrayList.ToArray();
            arrayList = null;
            return cornerType;
        }

    } // class CornerType

}

